package com.iqiyi.qigsaw.sample.java

import acom.dhy.qigsaw2test.App
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.widget.Toast
import com.dhy.qigsaw.splash.data.TestCase

class MyReceiver : BroadcastReceiver() {

    override fun onReceive(context: Context, intent: Intent) {
        App.testCases[TestCase.RECEIVER] = true
        Toast.makeText(context, context.getString(R.string.hello_broadcast), Toast.LENGTH_SHORT).show()
    }
}